package test;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author Tang
 * @classname NoContextMain
 * @description [  ]
 * @date 2021/6/1 16:46
 */
public class NoContextMain {

    public static void main(String[] args) {

        System.out.println(LocalDate.now().toString());
        System.out.println(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")));

    }

}